﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Commerce.Data;

namespace Commerce.CSK.Web.Controls
{
    public partial class CartView : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public Order CurrentOrder { get; set; }

        public override void DataBind()
        {
            this.cartViewRepeater.DataSource = this.CurrentOrder.Items; 
            base.DataBind();
        }
    }
}